  <div class="college-search" style="width:358px;" id="c2">
 <!--<div id="left-column-start" style="display:none"></div>
<div class="college-search">
  Adding alphbet links in sidebar -->
  <div class="alphabet_links">
    <div id="all">
      <%=link_to "All", "javascript:void(0);", :style => "color:#000;text-decoration:none;",:class=>"alpha-selected", :onclick => "scroll_to('universities');deselect(document, 'a', 'alpha-selected');this.setAttribute('class','alpha-selected');" -%>
    </div>
    <%"ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").each do |aplha_chr| -%>
    <div>
      <%=link_to aplha_chr, "javascript:void(0);", :style => "color:#000;text-decoration:none;", :class=>"alpha",:onclick => "scroll_to(\"#{aplha_chr}_universities\");deselect(document, 'a', 'alpha-selected');this.setAttribute('class','alpha-selected');" -%>
    </div>
    <%end -%>
  </div>

  <!-- content section -->
  <div class="left-column-colleges">

    <!-- Form to select view -->


    <!-- Progress indictar -->


    <!-- College list -->
    <div id="college_list" class="colleges-name" style="text-align:left">
<%= image_tag 'spinner.gif', :id => 'activity', :style => 'display:none' %>
      <!-- IF UNIVERSITIES ARE SORTED BY CITIES -->
      <% if @val=="cities" %>
        <%  counter = 0 -%>
        <%  city_initial_character = "" -%>
        <%  City.find(:all, :include => :universities ,:order => "name").each do |city| -%>

          <%unless city.universities.empty? -%>
            <%ping='1'-%>
            <%
            if city_initial_character != city.name[0..0]
              counter = 0
              city_initial_character = city.name[0..0]
            end
            %>

            <div style="display:block;" class="city-college" id="<%=city.name[0..0].upcase -%>_universities_<%=counter-%>">

              <div class="city-window">
              <%= link_to h(city.name), { :controller=> "city" , :action=>"index" , :city =>city.stripped_name, :user_profile => params[:user_profile]} -%>
              </div>

              <%#*<div class="institute-window">%>
                <%#city.universities.each do |university| -%>
                  <%#*<div class="college" style="clear:both;">%>
                    <%#= link_to h(university.name), { :controller=> "campus" , :action=>"index" , :university =>university.stripped_name, :user_profile => params[:user_profile]} -%>
                  <%#*</div>%>
                <%#end-%>
              <%#*</div>%>
            </div>
            <% counter = counter + 1 -%>
          <%end-%>

        <%end%>
      <%end -%>

      <!-- IF UNIVERSITIES ARE SORTED BY ALPHA -->
      <% if @val=="alpha" %>

        <%
          alpha_univerity = Hash.new
          @universities.each do |university|
          alpha_univerity[university.name[0..0].upcase] = Array.new if alpha_univerity[university.name[0..0].upcase].nil?
          alpha_univerity[university.name[0..0].upcase] << university
          end
        %>

        <%"ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").each do |alpha_letter| -%>

          <%unless alpha_univerity[alpha_letter].nil? %>
            <div style="display:block;" class="city-institutes" id="<%=alpha_letter.upcase -%>_universities_0" >

              <div class="city-window"><%=alpha_letter-%></div>

              <div class="institute-window">
                <%alpha_univerity[alpha_letter].each do |university| -%>
                  <div class="city-college" style="clear:both;">
                    <%= link_to h(university.name), { :controller=> "campus" , :action=>"index" , :university =>university.stripped_name, :user_profile => params[:user_profile]} -%>
                  </div>
                <%end-%>
              </div>
            </div>

          <%end-%>

        <%end%>
      <%end -%>

    </div>
    <div class="no-campus"><a href="">Can't Find Your Campus ?</a></div>
  </div>

</div>
</div>